package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_Meter")
public class Meter implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 电表编号
     */
    @Column(name = "MeterNumber")
    private String meterNumber;

    /**
     * 站点ID
     */
    @Column(name = "StationID")
    private Integer stationID;

    /**
     * 通信号
     */
    @Column(name = "CommID")
    private Integer commID;

    /**
     * 分表类型
     */
    @Column(name = "MeterType")
    private String meterType;

    @Column(name = "LocationInformation")
    private Integer locationInformation;

}
